package com.ease.business.hellobuddy.util;

import com.ease.business.hellobuddy.vo.Buddy;

/**
 * 
 * @author nathanleewei
 * 
 */
public abstract class HelloBuddyUtil {

	public static Buddy staticHelloBuddy(Buddy buddy) {
		if (null != buddy) {
			buddy.setName(staticHelloWorld(buddy.getName()));
			buddy.setMyBuddy(staticHelloBuddy(buddy.getMyBuddy()));
		}
		return buddy;
	}

	public static String staticHelloWorld(String name) {
		return "Hello, " + name;
	}

}
